<?php
class Index_Data_Getallcategory implements Index_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "SELECT category_meta_values.category_name, category_meta_values.category_meta_description, category_content_values.category_title FROM category_meta_values, category_content_values WHERE category_meta_values.category_name = category_content_values.category_name;";
        return $this->core_controller_selectdata->main($variables);
    }
}
